package bean;

public class Spjl {
	private int id;
	private String name;
	private String img;
	private int price;
	private int count;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public Spjl() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Spjl(int id, String name, String img, int price, int count) {
		super();
		this.id = id;
		this.name = name;
		this.img = img;
		this.price = price;
		this.count = count;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Spjl [id=");
		builder.append(id);
		builder.append(", name=");
		builder.append(name);
		builder.append(", img=");
		builder.append(img);
		builder.append(", price=");
		builder.append(price);
		builder.append(", count=");
		builder.append(count);
		builder.append("]");
		return builder.toString();
	}
	
}
